// Copyright personal possession of Nguyen Minh Kha
// Datetime: 07:11PM 10/28/2011
// Discription: This class is a helper class to save and load map.
// Licencse: Free source
// Version: 1.0
// Writer: Nguyen Minh Kha

/* Google opensource coding standard with variable name exception */

#ifndef GAMEFRAMEWORK_CONVERT_INTERFACE_H_
#define GAMEFRAMEWORK_CONVERT_INTERFACE_H_

#include <atlstr.h>

class ConvertInterface {
  //
  // Convert object to unicode array, 
  //    helper class to save object data to map on hard disk.
  //
public:
  virtual CString* ToArray() = 0;

  //
  // Init object value from unicode array.
  //
  virtual void FromArray(CString* attribute) = 0;

};

#endif  // GAMEFRAMEWORK_CONVERT_INTERFACE_H_